package com.gitee.magic.jdbc.persistence.annotation;

import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

import org.springframework.stereotype.Component;

/**
 * 实体对象
 * @author Start
 */
@Target(ElementType.TYPE)
@Retention(RetentionPolicy.RUNTIME)
@Component
public @interface Entity {
	String value();
	
	/**
	 * 是否必须要有对应的转写器
	 * @return
	 */
	boolean converter() default true;
	
}
